package com.fps.web.dao;

import com.fpswork.core.exception.exception.BusinessException;
import com.fps.web.model.Baseattach;
import com.fpswork.core.model.PageEntity;

/**
* @ClassName: BaseattachDao
* @Description:附件
* @author Spf
* @date 2019-01-02
*/
public interface BaseattachDao{
	/**
	 * 获取所有附件
	 */
	public PageEntity queryBaseattachList(PageEntity pageEntity)  throws BusinessException;
	/**
	 * 根据主键获取附件
	 */
	public Baseattach queryBaseattachByID(String id)  throws BusinessException;
    /**
	 * 保存附件
	 */
	public Baseattach addBaseattach(Baseattach baseattach)  throws BusinessException;
	/**
	 * 修改附件
	 */
	public Baseattach updateBaseattach(Baseattach baseattach)  throws BusinessException;
	/**
	 * 删除附件
	 */
	public Boolean deleteBaseattach(Baseattach baseattach)  throws BusinessException;
}







